package effect;

public class EffectGenerator {
	
	public static Effect generateEffect(String effectName){
		if(effectName.equals("Rage"))
			return new Rage();
		if(effectName.equals("Growing"))
			return new Growing();
		if(effectName.equals("Pickpocket"))
			return new Pickpocket();
		if(effectName.equals("Regeneration"))
			return new Regeneration();
		if(effectName.equals("ProtectedByWall"))
			return new ProtectedByWall();
		if(effectName.equals("ProtectingWall"))
			return new ProtectingWall();
		if(effectName.equals("Mutating"))
			return new Mutating();
		if(effectName.equals("PowerSurge"))
			return new PowerSurge();
		if(effectName.equals("BlessLand"))
			return new BlessLand();
		if(effectName.equals("BlessedLand"))
			return new BlessedLand();
		if(effectName.equals("BuildMine"))
			return new BuildMine();
		if(effectName.equals("GoldMine"))
			return new GoldMine();
		if(effectName.equals("Harvest"))
			return new Harvest();
		if(effectName.equals("Mine"))
			return new Mine();
		if(effectName.equals("FairyDance"))
			return new FairyDance();
		if(effectName.equals("Blizzard"))
			return new Blizzard();
		if(effectName.equals("Research"))
			return new Research();
		if(effectName.equals("AsraiDance"))
			return new AsraiDance();
		if(effectName.equals("AsraiRage"))
			return new AsraiRage();
		if(effectName.equals("Haste"))
			return new Haste();
		
		
		//Nothing was returned
		System.out.println("Warning: Effect -"+effectName+"- is not registered in EffectGenerator.");
		return null;
	}

}
